home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17172 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  669 b 

  1. Path: news.production.compuserve.com!news
  2. From: Steve Farson <75226.1623@CompuServe.COM>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Arrays in C and c++
  5. Date: 14 Apr 1996 04:56:59 GMT
  6. Organization: CompuServe, Inc. (1-800-689-0736)
  7. Message-ID: <4kq0ir$snu$1@mhafc.production.compuserve.com>
  8. References: <316EC70D.5225@aai.arco.com>
  9.  
  10. <<The dimensions must be known at compiler
  11. time, ie: they cannot be dynamic. C++ gets around this difficulty 
  12. with
  13. the
  14. STL vector libraries.>>
  15.  
  16. Can't this be done with the C++ new operator?  I dynamically size 
  17. arrays at runtime since I don't know the size of the file I'll be 
  18. reading.  I do it with C++ and don't need STL for this.
  19.  
  20. Steve
  21.